<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CLogStream类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_c_log_stream-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CLogStream类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>内部使用的日志流类  
 <a href="class_c_log_stream.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_log_stream_8h_source.html">LogStream.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a68ef82cf2cc3b904ea539e46b0a9efa0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#a68ef82cf2cc3b904ea539e46b0a9efa0">CLogStream</a> (<a class="el" href="class_c_safe_logs.html">CSafeLogs</a> *log, <a class="el" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a> level)</td></tr>
<tr class="separator:a68ef82cf2cc3b904ea539e46b0a9efa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25fb38848d0dbc0a0adac0d99fef25b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#a25fb38848d0dbc0a0adac0d99fef25b6">~CLogStream</a> ()</td></tr>
<tr class="separator:a25fb38848d0dbc0a0adac0d99fef25b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6784e2f86fbb8a469c959a841deab907"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a6784e2f86fbb8a469c959a841deab907"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_c_log_stream.html">CLogStream</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#a6784e2f86fbb8a469c959a841deab907">operator&lt;&lt;</a> (T log)</td></tr>
<tr class="separator:a6784e2f86fbb8a469c959a841deab907"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:aec026290741afe0f09a8b9e5b932f1f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#aec026290741afe0f09a8b9e5b932f1f0">delete_class_copy_operator</a> (<a class="el" href="class_c_log_stream.html">CLogStream</a>)</td></tr>
<tr class="separator:aec026290741afe0f09a8b9e5b932f1f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a21c317afe9aaed273b42074eee910a79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_safe_logs.html">CSafeLogs</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#a21c317afe9aaed273b42074eee910a79">_log</a></td></tr>
<tr class="separator:a21c317afe9aaed273b42074eee910a79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1077b7aebe5df70801c0619100eee5e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#a1077b7aebe5df70801c0619100eee5e3">_level</a></td></tr>
<tr class="separator:a1077b7aebe5df70801c0619100eee5e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadd393c891c3ad4be607f58fd521eaee"><td class="memItemLeft" align="right" valign="top">std::stringstream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_log_stream.html#aadd393c891c3ad4be607f58fd521eaee">_sstr</a></td></tr>
<tr class="separator:aadd393c891c3ad4be607f58fd521eaee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>内部使用的日志流类 </p>

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00012">12</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a68ef82cf2cc3b904ea539e46b0a9efa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68ef82cf2cc3b904ea539e46b0a9efa0">&#9670;&nbsp;</a></span>CLogStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CLogStream::CLogStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_safe_logs.html">CSafeLogs</a> *&#160;</td>
          <td class="paramname"><em>log</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a>&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<a id="a25fb38848d0dbc0a0adac0d99fef25b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25fb38848d0dbc0a0adac0d99fef25b6">&#9670;&nbsp;</a></span>~CLogStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CLogStream::~CLogStream </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00019">19</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aec026290741afe0f09a8b9e5b932f1f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec026290741afe0f09a8b9e5b932f1f0">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CLogStream::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_log_stream.html">CLogStream</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6784e2f86fbb8a469c959a841deab907"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6784e2f86fbb8a469c959a841deab907">&#9670;&nbsp;</a></span>operator&lt;&lt;()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_log_stream.html">CLogStream</a>&amp; CLogStream::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>log</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00026">26</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a1077b7aebe5df70801c0619100eee5e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1077b7aebe5df70801c0619100eee5e3">&#9670;&nbsp;</a></span>_level</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a> CLogStream::_level</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="a21c317afe9aaed273b42074eee910a79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21c317afe9aaed273b42074eee910a79">&#9670;&nbsp;</a></span>_log</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_safe_logs.html">CSafeLogs</a>* CLogStream::_log</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="aadd393c891c3ad4be607f58fd521eaee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadd393c891c3ad4be607f58fd521eaee">&#9670;&nbsp;</a></span>_sstr</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::stringstream CLogStream::_sstr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_log_stream_8h_source.html">LogStream.h</a> 第 <a class="el" href="_log_stream_8h_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/log/<a class="el" href="_log_stream_8h_source.html">LogStream.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
